<template>
  <div style="width:170px;">
      <div class="wrap" style="width: 100%;
    position: relative;">
          <div class="left-bar" style="width: 2px;
    height: 30%;
    background-color: #00704E;
    position: absolute;"></div>
          <div class="title" style="color: #fff;
    margin-left: 10px;
    font-size: 14px;">建筑面积</div>
          <div class="content" style="margin-left: 10px;
    margin-top: 19px;">
              <img src="../assets/19.png" style="width:100%" alt="">
              <div class="data" style="width: 80%;
    height: 30px;
    display: flex;
    justify-content: space-between;
    position: absolute;
    bottom: 12px;
    left: 23px;">
                  <span v-for="(item,index) in area" :key="item.id"  style="flex: 1;
    font-size: 18px;
    font-weight: bold;
    color: #00704E;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;" :style="index===0||index===1?'left:-2px;':index===2?'left:-1px;':''">{{item}}</span>
                  <span style="flex: 1;
    font-size: 18px;
    font-weight: bold;
    color: #00704E;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;left: 1px;
    font-size: 12px;
    transform: scale(0.88);
    color: #B4C4D0;left: 1px;
    font-size: 12px;
    transform: scale(0.88);
    color: #B4C4D0;">HA</span>
            </div>
          </div>
      </div>
  </div>
</template>

<script>
export default {
    data() {
        return {
            area: '9816', //面积
        }
    },
}
</script>

<style>
/* .wrap{
    width: 100%;
    position: relative;
}
.left-bar{
    width: 2px;
    height: 30%;
    background-color: #00704E;
    position: absolute;
}
.title{
    color: #fff;
    margin-left: 10px;
    font-size: 14px;
}
.content{
    margin-left: 10px;
    margin-top: 19px;
}
.content .data{
    width: 80%;
    height: 30px;
    display: flex;
    justify-content: space-between;
    position: absolute;
    bottom: 12px;
    left: 23px;
}

.data span{
    flex: 1;
    font-size: 18px;
    font-weight: bold;
    color: #00704E;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.data > span:nth-child(1){
    left: -2px;
}
.data > span:nth-child(2){
    left: -1px;
}
.data > span:nth-child(3){
    left: -1px;
}
.data > span:nth-child(5){
    left: 1px;
    font-size: 12px;
    transform: scale(0.88);
    color: #B4C4D0;
} */
</style>